


lazy_static::lazy_static!{
    pub static ref ROOT_URL:String = String::from("http://localhost:8080/ArticleWebsite");
}


struct User
{
    id: u32,
    nickname: String,
    username: String,
    password: String
}


struct Author
{
    id: u32,
    pen_name: String,
    count_works: u32,
    count_books: u32,
    count_fans: u32
}

struct Article
{
    id: u32,
    title: String,
    author_id: u32,
    author_name: String,
    upload_date: String,
    content: String
}

